/*
 * Copyright (C) 2017-2021
 * All rights reserved, Designed By 深圳中科鑫智科技有限公司
 * Copyright authorization contact 18814114118
 */
package com.shop.cereshop.app.service.group;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.shop.cereshop.commons.domain.shop.CereShopGroup;
import com.shop.cereshop.commons.domain.shop.bo.CereShopGroupBo;
import com.shop.cereshop.commons.domain.shop.vo.CereShopGroupVo;


import java.util.List;

public interface CereShopGroupService extends IService<CereShopGroup> {


    /**
     * 条件构造器
     */
     LambdaQueryWrapper<CereShopGroup> buildLambdaQueryWrapper(CereShopGroupBo bo);

    /**
     * 条件查询
     */
     List<CereShopGroupVo> queryList(CereShopGroupBo bo);

    /**
     * 转换函数
     */
     List<CereShopGroupVo> generate(List<CereShopGroup> list);

    /**
     * 转换函数
     */
     CereShopGroupVo generate(CereShopGroup group);

}
